package org.exez.modules.visitor.service;

import org.apache.mina.core.future.ConnectFuture;
import org.exez.modules.visitor.entity.PolicePay;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 公安pay
 * @Author: exez-boot
 * @Date:   2020-08-19
 * @Version: V1.0
 */
public interface IPolicePayService extends IService<PolicePay> {
    void policePay(PolicePay policePay);

    PolicePay selectPolicePayByIpAndPort(String ip, String port);

    boolean getConnectAnd(String ip,int port,String payId,String secret,int pageIndex);

    int insertPolicePay(PolicePay policePay);

    PolicePay selectByInstitutionId(String institutionId);

    ConnectFuture getConnect(String ip, int port, String payId, String secret);

    void createConnectPolicePay();
}
